package com.woniu.mapper;

import com.woniu.pojo.Role;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface RoleMapper {
    //分布查询role
    public List<Role> selectRolesWithStep();

    //根据roleid查询role
    public Role selectRoleByRid(@Param("rid") Integer rid);

    //分布查询role
    public List<Role> selectRolesPWithStep();

}
